package com.library.model.daoimple;

import java.util.List;

import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.library.model.dao.ZipcodeDAO;
import com.library.model.dto.zipcode.ZipcodeDTO;

public class ZipcodeDAOImple extends SqlMapClientDaoSupport implements ZipcodeDAO{

	@Override
	public List getZipcode(ZipcodeDTO dto) {
		return getSqlMapClientTemplate().queryForList("ZipcodeMap.getZipcode",dto);
	}

}
